package com.gym.system.goods.domain;

import com.gym.common.annotation.Excel;
import com.gym.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 器材管理对象 gym_goods
 *
 * @author administrator
 * @date 2021-04-11
 */
public class GymGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 器材材料 */
    @Excel(name = "器材材料")
    private String detail;

    /** 图片url */
    @Excel(name = "图片url")
    private String imgUrl;

    /** 器材名称 */
    @Excel(name = "器材名称")
    private String name;

    /** 器材价钱 */
    @Excel(name = "器材价钱")
    private String price;

    /** 器材存放 */
    @Excel(name = "器材存放")
    private Long stock;

    /** 器材种类 */
    @Excel(name = "器材种类")
    private Long dictCategory;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setStock(Long stock)
    {
        this.stock = stock;
    }

    public Long getStock()
    {
        return stock;
    }
    public void setDictCategory(Long dictCategory)
    {
        this.dictCategory = dictCategory;
    }

    public Long getDictCategory()
    {
        return dictCategory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("detail", getDetail())
            .append("imgUrl", getImgUrl())
            .append("name", getName())
            .append("price", getPrice())
            .append("stock", getStock())
            .append("dictCategory", getDictCategory())
            .toString();
    }
}
